﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!--
 Archive processed by SingleFile 
 url: https://tools.ietf.org/html/rfc6421 
 saved date: Sat Oct 18 2014 04:08:32 GMT+0300 (Финляндия (лето)) 
--><head profile="http://dublincore.org/documents/2008/08/04/dc-html/">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="robots" content="index,follow">
    <meta name="creator" content="rfcmarkup version 1.109">
    <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<meta name="DC.Relation.Replaces" content="draft-nelson-radext-crypto-agility-requirements">
<meta name="DC.Identifier" content="urn:ietf:rfc:6421">
<meta name="DC.Date.Issued" content="November, 2011">
<meta name="DC.Creator" content="David B. Nelson <d.b.nelson@comcast.net>">
<meta name="DC.Description.Abstract" content="This memo describes the requirements for a crypto-agility solution for\nRemote Authentication Dial-In User Service (RADIUS). This document is\nnot an Internet Standards Track specification; it is published for\ninformational purposes.">
<meta name="DC.Title" content="Crypto-Agility Requirements for Remote Authentication Dial-In User Service (RADIUS)">

    <link rel="icon" href="" type="image/png">
    <link rel="shortcut icon" href="" type="image/png">
    <title>RFC 6421 - Crypto-Agility Requirements for Remote Authentication Dial-In User Service (RADIUS)</title>
    
    
    <style type="text/css">
	body {
	    margin: 0px 8px;
            font-size: 1em;
	}
        h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	    font-weight: bold;
            line-height: 0pt;
            display: inline;
            white-space: pre;
            font-family: monospace;
            font-size: 1em;
	    font-weight: bold;
        }
        pre {
            font-size: 1em;
            margin-top: 0px;
            margin-bottom: 0px;
        }
	.pre {
	    white-space: pre;
	    font-family: monospace;
	}
	.header{
	    font-weight: bold;
	}
        .newpage {
            page-break-before: always;
        }
        .invisible {
            text-decoration: none;
            color: white;
        }
        a.selflink {
          color: black;
          text-decoration: none;
        }
        @media print {
            body {
                font-family: monospace;
                font-size: 10.5pt;
            }
            h1, h2, h3, h4, h5, h6 {
                font-size: 1em;
            }
        
            a:link, a:visited {
                color: inherit;
                text-decoration: none;
            }
            .noprint {
                display: none;
            }
        }
	@media screen {
	    .grey, .grey a:link, .grey a:visited {
		color: #777;
	    }
            .docinfo {
                background-color: #EEE;
            }
            .top {
                border-top: 7px solid #EEE;
            }
            .bgwhite  { background-color: white; }
            .bgred    { background-color: #F44; }
            .bggrey   { background-color: #666; }
            .bgbrown  { background-color: #840; }            
            .bgorange { background-color: #FA0; }
            .bgyellow { background-color: #EE0; }
            .bgmagenta{ background-color: #F4F; }
            .bgblue   { background-color: #66F; }
            .bgcyan   { background-color: #4DD; }
            .bggreen  { background-color: #4F4; }

            .legend   { font-size: 90%; }
            .cplate   { font-size: 70%; border: solid grey 1px; }
	}
    </style>
    <!--[if IE]>
    <style>
    body {
       font-size: 13px;
       margin: 10px 10px;
    }
    </style>
    <![endif]-->

    
</head>
<body>
   <div style="height: 13px;">
      <div onmouseover="this.style.cursor='pointer';" onclick="showElem('legend');" onmouseout="hideElem('legend')" style="height: 6px; position: absolute;" class="pre noprint docinfo bgorange" title="Click for colour legend.">                                                                        </div>
      <div id="legend" class="docinfo noprint pre legend" style="position:absolute; top: 4px; left: 4ex; visibility:hidden; background-color: white; padding: 4px 9px 5px 7px; border: solid #345 1px; " onmouseover="showElem('legend');" onmouseout="hideElem('legend');">
      </div>
   </div>
<span class="pre noprint docinfo top">[<a href="https://tools.ietf.org/html" title="Document search and retrieval page">Docs</a>] [<a href="https://tools.ietf.org/rfc/rfc6421.txt" title="Plaintext version of this document">txt</a>|<a href="https://tools.ietf.org/pdf/rfc6421" title="PDF version of this document">pdf</a>] [<a href="https://tools.ietf.org/html/draft-ietf-radext-crypto-agility-requirements" title="draft-ietf-radext-crypto-agility-requirements">draft-ietf-radext...</a>] [<a href="https://tools.ietf.org/rfcdiff?difftype=--hwdiff&amp;url2=rfc6421" title="Inline diff (wdiff)">Diff1</a>] [<a href="https://tools.ietf.org/rfcdiff?url2=rfc6421" title="Side-by-side diff">Diff2</a>]                 </span><br>
<span class="pre noprint docinfo">                                                                        </span><br>
<span class="pre noprint docinfo">                                                           INFORMATIONAL</span><br>
<span class="pre noprint docinfo">                                                                        </span><br>
<pre>Internet Engineering Task Force (IETF)                    D. Nelson, Ed.
Request for Comments: 6421                         Elbrys Networks, Inc.
Category: Informational                                    November 2011
ISSN: 2070-1721


                      <span class="h1"><h1>Crypto-Agility Requirements</h1></span>
        <span class="h1"><h1>for Remote Authentication Dial-In User Service (RADIUS)</h1></span>

Abstract

   This memo describes the requirements for a crypto-agility solution
   for Remote Authentication Dial-In User Service (RADIUS).

Status of This Memo

   This document is not an Internet Standards Track specification; it is
   published for informational purposes.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Not all documents
   approved by the IESG are a candidate for any level of Internet
   Standard; see <a href="https://tools.ietf.org/html/rfc5741#section-2">Section&nbsp;2 of RFC 5741</a>.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   <a href="http://www.rfc-editor.org/info/rfc6421">http://www.rfc-editor.org/info/rfc6421</a>.

Copyright Notice

   Copyright (c) 2011 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to <a href="https://tools.ietf.org/html/bcp78">BCP 78</a> and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in <a href="#section-4">Section 4</a>.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.







<span class="grey">Nelson                        Informational                     [Page 1]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-2" id="page-2" href="#page-2" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.

Table of Contents

   <a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
      <a href="#section-1.1">1.1</a>. General ....................................................<a href="#page-2">2</a>
      <a href="#section-1.2">1.2</a>. Requirements Language ......................................<a href="#page-3">3</a>
      <a href="#section-1.3">1.3</a>. Publication Process ........................................<a href="#page-3">3</a>
   <a href="#section-2">2</a>. A Working Definition of Crypto-Agility ..........................<a href="#page-4">4</a>
   <a href="#section-3">3</a>. The Current State of RADIUS Security ............................<a href="#page-5">5</a>
   <a href="#section-4">4</a>. The Requirements ................................................<a href="#page-5">5</a>
      <a href="#section-4.1">4.1</a>. Overall Solution Approach ..................................<a href="#page-5">5</a>
      <a href="#section-4.2">4.2</a>. Security Services ..........................................<a href="#page-6">6</a>
      <a href="#section-4.3">4.3</a>. Backwards Compatibility ....................................<a href="#page-7">7</a>
      <a href="#section-4.4">4.4</a>. Interoperability and Change Control ........................<a href="#page-9">9</a>
      <a href="#section-4.5">4.5</a>. Scope of Work ..............................................<a href="#page-9">9</a>
      <a href="#section-4.6">4.6</a>. Applicability of Automated Key Management Requirements .....<a href="#page-9">9</a>
   <a href="#section-5">5</a>. Security Considerations ........................................<a href="#page-10">10</a>
   <a href="#section-6">6</a>. Acknowledgments ................................................<a href="#page-10">10</a>
   <a href="#section-7">7</a>. References .....................................................<a href="#page-10">10</a>
      <a href="#section-7.1">7.1</a>. Normative References ......................................<a href="#page-10">10</a>
      <a href="#section-7.2">7.2</a>. Informative References ....................................<a href="#page-11">11</a>

<span class="h2"><h2><a class="selflink" name="section-1" href="#section-1">1</a>.  Introduction</h2></span>

<span class="h3"><h3><a class="selflink" name="section-1.1" href="#section-1.1">1.1</a>.  General</h3></span>

   At the IETF 66 meeting, the RADIUS Extensions (RADEXT) Working Group
   (WG) was asked by members of the Security Area Directorate to prepare
   a formal description of a crypto-agility work item and corresponding
   charter milestones.  After consultation with one of the Security Area
   Directors (Russ Housley), text was initially proposed on the RADEXT
   WG mailing list on October 26, 2006.  The following summarizes that
   proposal:







<span class="grey">Nelson                        Informational                     [Page 2]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-3" id="page-3" href="#page-3" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


      The RADEXT WG will review the security requirements for crypto-
      agility in IETF protocols, and identify the deficiencies of the
      existing RADIUS protocol specifications against these
      requirements.  Specific attention will be paid to <a href="https://tools.ietf.org/html/rfc4962">RFC 4962</a>
      [<a href="https://tools.ietf.org/html/rfc4962" title="&quot;Guidance for Authentication, Authorization, and Accounting (AAA) Key Management&quot;">RFC4962</a>].

      The RADEXT WG will propose one or more specifications to remediate
      any identified deficiencies in the crypto-agility properties of
      the RADIUS protocol.  The known deficiencies include the issue of
      negotiation of substitute algorithms for the message digest
      functions, the key-wrap functions, and the password-hiding
      function.  Additionally, at least one mandatory to implement
      cryptographic algorithm will be defined in each of these areas, as
      required.

   This document describes the features, properties, and limitations of
   RADIUS crypto-agility solutions; defines the term "crypto-agility" as
   used in this context; and provides the motivations for this work.

   The requirements defined in this memo have been developed based on
   email messages posted to the RADEXT WG mailing list, which may be
   found in the archives of that list.  The purpose of framing the
   requirements in this memo is to formalize and archive them for future
   reference and to bring them explicitly to the attention of the IESG
   and the IETF community as we proceed with this work.

<span class="h3"><h3><a class="selflink" name="section-1.2" href="#section-1.2">1.2</a>.  Requirements Language</h3></span>

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [<a href="https://tools.ietf.org/html/rfc2119" title="&quot;Key words for use in RFCs to Indicate Requirement Levels&quot;">RFC2119</a>].

   A RADIUS crypto-agility solution is not compliant with this
   specification if it fails to satisfy one or more of the MUST or MUST
   NOT statements.  A solution that satisfies all the MUST, MUST NOT,
   SHOULD, and SHOULD NOT statements is said to be "unconditionally
   compliant"; one that satisfies all the MUST and MUST NOT statements
   but not all the SHOULD or SHOULD NOT requirements is said to be
   "conditionally compliant".

<span class="h3"><h3><a class="selflink" name="section-1.3" href="#section-1.3">1.3</a>.  Publication Process</h3></span>

   RADIUS [<a href="https://tools.ietf.org/html/rfc2865" title="&quot;Remote Authentication Dial In User Service (RADIUS)&quot;">RFC2865</a>] is a widely deployed protocol that has attained
   Draft Standard status based on multiple independent interoperable
   implementations.  Therefore, it is desirable that a high level of
   interoperability be maintained for crypto-agility solutions.





<span class="grey">Nelson                        Informational                     [Page 3]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-4" id="page-4" href="#page-4" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


   To ensure that crypto-agility solutions published on the standards
   track are well specified and interoperable, the RADEXT WG has adopted
   a two phase process for standards-track publication of crypto-agility
   solutions.

   In the initial phase, crypto-agility solutions adopted by the working
   group will be published as Experimental.  These documents should
   contain a description of the implementations and experimental
   deployments in progress as well as an evaluation of the proposal
   against the requirements described in this document.

   The working group will then select proposals to advance on the
   standards track.  Criteria to be used include evaluation of the
   proposal against the requirements, summary of the experimental
   deployment experience, and evidence of multiple interoperable
   implementations.

<span class="h2"><h2><a class="selflink" name="section-2" href="#section-2">2</a>.  A Working Definition of Crypto-Agility</h2></span>

   Crypto-agility is the ability of a protocol to adapt to evolving
   cryptography and security requirements.  This may include the
   provision of a modular mechanism to allow cryptographic algorithms to
   be updated without substantial disruption to fielded implementations.
   It may provide for the dynamic negotiation and installation of
   cryptographic algorithms within protocol implementations (think of
   Dynamic-Link Libraries (DLL)).

   In the specific context of the RADIUS protocol and RADIUS
   implementations, crypto-agility may be better defined as the ability
   of RADIUS implementations to automatically negotiate cryptographic
   algorithms for use in RADIUS exchanges, including the algorithms used
   to integrity protect and authenticate RADIUS packets and to hide
   RADIUS attributes.  This capability covers all RADIUS message types:
   Access-Request/Response, Accounting-Request/Response, CoA/Disconnect-
   Request/Response, and Status-Server.  Negotiation of cryptographic
   algorithms MAY occur within the RADIUS protocol, or within a lower
   layer such as the transport layer.

   Proposals MUST NOT introduce generic new capability negotiation
   features into the RADIUS protocol or require changes to the RADIUS
   operational model as defined in "RADIUS Design Guidelines" <a href="https://tools.ietf.org/html/rfc6158#section-3.1">[RFC6158],
   Section&nbsp;3.1</a> and <a href="#appendix-A.4">Appendix A.4</a>.  A proposal SHOULD focus on the crypto-
   agility problem and nothing else.  For example, proposals SHOULD NOT
   require new attribute formats and SHOULD be compatible with the
   guidance provided in <a href="https://tools.ietf.org/html/rfc6158#section-2.3">[RFC6158], Section&nbsp;2.3</a>.  Issues of backward
   compatibility are described in more detail in <a href="#section-4.3">Section 4.3</a>.





<span class="grey">Nelson                        Informational                     [Page 4]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-5" id="page-5" href="#page-5" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


<span class="h2"><h2><a class="selflink" name="section-3" href="#section-3">3</a>.  The Current State of RADIUS Security</h2></span>

   RADIUS packets, as defined in [<a href="https://tools.ietf.org/html/rfc2865" title="&quot;Remote Authentication Dial In User Service (RADIUS)&quot;">RFC2865</a>], are protected by an MD5
   message integrity check (MIC) within the Authenticator field of
   RADIUS packets other than Access-Request [<a href="https://tools.ietf.org/html/rfc2865" title="&quot;Remote Authentication Dial In User Service (RADIUS)&quot;">RFC2865</a>] and Status-Server
   [<a href="https://tools.ietf.org/html/rfc5997" title="&quot;Use of Status-Server Packets in the Remote Authentication Dial In User Service (RADIUS) Protocol&quot;">RFC5997</a>].  The Message-Authenticator Attribute utilizes HMAC-MD5 to
   authenticate and integrity protect RADIUS packets.

   While RADIUS does not support confidentiality of entire packets,
   various RADIUS attributes support encrypted (also known as "hidden")
   values, including User-Password (defined in <a href="https://tools.ietf.org/html/rfc2865#section-5.2">[RFC2865], Section&nbsp;5.2</a>),
   Tunnel-Password (defined in <a href="https://tools.ietf.org/html/rfc2868#section-3.5">[RFC2868], Section&nbsp;3.5</a>), and various
   Vendor-Specific Attributes, such as the MS-MPPE-Send-Key and
   MS-MPPE-Recv-Key attributes (defined in <a href="https://tools.ietf.org/html/rfc2548#section-2.4">[RFC2548], Section&nbsp;2.4</a>).
   Generally speaking, the hiding mechanism uses a stream cipher based
   on a key stream from an MD5 digest.  Attacks against this mechanism
   are described in "RADIUS Support for EAP" <a href="https://tools.ietf.org/html/rfc3579#section-4.3.4">[RFC3579], Section&nbsp;4.3.4</a>.

   "Updated Security Considerations for the MD5 Message-Digest and the
   HMAC-MD5 Algorithms" [<a href="https://tools.ietf.org/html/rfc6151" title="&quot;Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms&quot;">RFC6151</a>] discusses security considerations for
   use of the MD5 and HMAC-MD5 algorithms.  While the advances in MD5
   collisions do not immediately compromise the use of MD5 or HMAC-MD5
   for the purposes used within RADIUS absent knowledge of the
   RADIUS shared secret, the progress toward compromise of MD5's basic
   cryptographic assumptions has resulted in the deprecation of MD5
   usage in a variety of applications.  As noted in <a href="https://tools.ietf.org/html/rfc6151#section-2">[RFC6151],
   Section&nbsp;2</a>:

      MD5 is no longer acceptable where collision resistance is required
      such as digital signatures.  It is not urgent to stop using MD5 in
      other ways, such as HMAC-MD5; however, since MD5 must not be used
      for digital signatures, new protocol designs should not employ
      HMAC-MD5.

<span class="h2"><h2><a class="selflink" name="section-4" href="#section-4">4</a>.  The Requirements</h2></span>

<span class="h3"><h3><a class="selflink" name="section-4.1" href="#section-4.1">4.1</a>.  Overall Solution Approach</h3></span>

   RADIUS crypto-agility solutions are not restricted to utilizing
   technology described in existing RFCs.  Since RADIUS over IPsec is
   already described in <a href="#section-5">Section 5</a> of "RADIUS and IPv6" [<a href="https://tools.ietf.org/html/rfc3162" title="&quot;RADIUS and IPv6&quot;">RFC3162</a>] and
   <a href="https://tools.ietf.org/html/rfc3579#section-4.2">Section&nbsp;4.2 of [RFC3579]</a>, this technique is already available to
   those who wish to use it.  Therefore, it is expected that proposals
   will utilize other techniques.







<span class="grey">Nelson                        Informational                     [Page 5]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-6" id="page-6" href="#page-6" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


<span class="h3"><h3><a class="selflink" name="section-4.2" href="#section-4.2">4.2</a>.  Security Services</h3></span>

   Proposals MUST support the negotiation of cryptographic algorithms
   for per-packet integrity/authentication protection.  Proposals also
   MUST support per-packet replay protection for all RADIUS message
   types.  Crypto-agility solutions MUST specify mandatory-to-implement
   cryptographic algorithms for each defined mechanism.

   Crypto-agility solutions MUST avoid security compromise, even in
   situations where the existing cryptographic algorithms utilized by
   RADIUS implementations are shown to be weak enough to provide little
   or no security (e.g., in the event of compromise of the legacy RADIUS
   shared secret).  Included in this would be protection against
   bidding-down attacks.  In analyzing the resilience of a crypto-
   agility solution, it can be assumed that RADIUS requesters and
   responders can be configured to require the use of new secure
   algorithms in the event of a compromise of existing cryptographic
   algorithms or the legacy RADIUS shared secret.

   Guidance on acceptable algorithms can be found in [<a href="#ref-NIST-SP800-131A">NIST-SP800-131A</a>].
   It is RECOMMENDED that mandatory-to-implement cryptographic
   algorithms be chosen from among those classified as "Acceptable" with
   no known deprecation date from within this or successor documents.

   It is RECOMMENDED that solutions provide support for confidentiality,
   either by supporting encryption of entire RADIUS packets or by
   encrypting individual RADIUS attributes.  Proposals supporting
   confidentiality MUST support the negotiation of cryptographic
   algorithms for encryption.

   Support for encryption of individual RADIUS attributes is OPTIONAL
   for solutions that provide encryption of entire RADIUS packets.
   Solutions providing for encryption of individual RADIUS attributes
   are REQUIRED to provide support for improving the confidentiality of
   existing encrypted (sometimes referred to as "hidden") attributes as
   well as encrypting attributes (such as location attributes) that are
   currently transmitted in cleartext.

   In addition to the goals referred to above, <a href="https://tools.ietf.org/html/rfc4962#section-3">[RFC4962] Section&nbsp;3</a>
   describes additional security requirements, which translate into the
   following requirements for RADIUS crypto-agility solutions:

      Strong, fresh session keys:

      RADIUS crypto-agility solutions are REQUIRED to generate fresh
      session keys for use between the RADIUS client and server.  In
      order to prevent the disclosure of one session key from aiding an
      attacker in discovering other session keys, RADIUS crypto-agility



<span class="grey">Nelson                        Informational                     [Page 6]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-7" id="page-7" href="#page-7" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


      solutions are RECOMMENDED to support Perfect Forward Secrecy (PFS)
      with respect to session keys negotiated between the RADIUS client
      and server.

      Limit key scope:

      In order to enable a Network Access Server (NAS) and RADIUS server
      to exchange confidential information such as keying material
      without disclosure to third parties, it is RECOMMENDED that a
      RADIUS crypto-agility solution support X.509 certificates for
      authentication between the NAS and RADIUS server.  Manual
      configuration or automated discovery mechanisms such as NAI-based
      Dynamic Peer Discovery [<a href="#ref-RADYN" title="&quot;NAI-based Dynamic Peer Discovery for RADIUS/TLS and RADIUS/DTLS&quot;">RADYN</a>] can be used to enable
      direct NAS-RADIUS server communications.  Support for end-to-end
      confidentiality of RADIUS attributes is OPTIONAL.

      For compatibility with existing operations, RADIUS crypto-agility
      solutions SHOULD also support pre-shared key credentials.
      However, support for direct communications between the NAS and
      RADIUS server is OPTIONAL when pre-shared key credentials are
      used.

<span class="h3"><h3><a class="selflink" name="section-4.3" href="#section-4.3">4.3</a>.  Backwards Compatibility</h3></span>

   Solutions MUST demonstrate backward compatibility with existing
   RADIUS implementations.  That is, an implementation that supports
   both crypto-agility and legacy mechanisms MUST be able to talk with
   legacy RADIUS clients and servers (using the legacy mechanisms).

   While backward compatibility is needed to ease the transition between
   legacy RADIUS and crypto-agile RADIUS, use of legacy mechanisms is
   only appropriate prior to the compromise of those mechanisms.  After
   legacy mechanisms have been compromised, secure algorithms MUST be
   used so that backward compatibility is no longer possible.

   Since RADIUS is a request/response protocol, the ability to negotiate
   cryptographic algorithms within a single RADIUS exchange is
   inherently limited.  Prior to receipt of a response, a requester will
   not know what algorithms are supported by the responder.  Therefore,
   while a RADIUS request can provide a list of supported cryptographic
   algorithms that can be selected for use within a response, prior to
   the receipt of a response, the cryptographic algorithms utilized to
   provide security services within an initial request will need to be
   predetermined.

   In order to enable a request to be handled both by legacy as well as
   crypto-agile implementations, a request can be secured with legacy
   algorithms was well as with attributes providing security services



<span class="grey">Nelson                        Informational                     [Page 7]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-8" id="page-8" href="#page-8" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


   using more secure algorithms.  This approach allows a RADIUS packet
   to be processed by legacy implementations as well as by crypto-agile
   implementations, and it does not result in additional response
   delays.  If this technique is used, credentials used with legacy
   algorithms MUST be cryptographically independent of the credentials
   used with the more secure algorithms, so that compromise of the
   legacy credentials does not result in compromise of the credentials
   used with more secure algorithms.

   In this approach to backward compatibility, legacy mechanisms are
   initially used in requests sent between crypto-agile implementations.
   However, if the responder indicates support for crypto-agility,
   future requests can use more secure mechanisms.  Note that if a
   responder is upgraded and then subsequently needs to be downgraded
   (e.g., due to bugs), this could result in requesters being unable to
   communicate with the downgraded responder unless a mechanism is
   provided to configure the requester to re-enable use of legacy
   algorithms.

   Probing techniques can be used to avoid the use of legacy algorithms
   in requests sent between crypto-agile implementations.  For example,
   an initial request can omit use of legacy mechanisms.  If a response
   is received, then the recipient can be assumed to be crypto-agile and
   future requests to that recipient can utilize secure mechanisms.
   Similarly, the responder can assume that the requester supports
   crypto-agility and can prohibit use of legacy mechanisms in future
   requests.  Note that if a requester is upgraded and then subsequently
   needs to be downgraded (e.g., due to bugs), this could result in the
   requester being unable to interpret responses, unless a mechanism is
   provided to configure the responder to re-enable use of legacy
   algorithms.

   If a response is not received, in the absence of information
   indicating responder support for crypto-agility (such as pre-
   configuration or previous receipt of a crypto-agile response), a new
   request can be composed utilizing legacy mechanisms.

   Since legacy implementations not supporting crypto-agility will
   silently discard requests not protected by legacy algorithms rather
   than returning an error, repeated requests can be required to
   distinguish lack of support for crypto-agility from packet loss or
   other failure conditions.  Therefore, probing techniques can delay
   initial communication between crypto-agile requesters and legacy
   responders.  This can be addressed by upgrading the responders (e.g.,
   RADIUS servers) first.






<span class="grey">Nelson                        Informational                     [Page 8]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-9" id="page-9" href="#page-9" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


<span class="h3"><h3><a class="selflink" name="section-4.4" href="#section-4.4">4.4</a>.  Interoperability and Change Control</h3></span>

   Proposals MUST indicate a willingness to cede change control to the
   IETF.

   Crypto-agility solutions MUST be interoperable between independent
   implementations based purely on the information provided in the
   specification.

<span class="h3"><h3><a class="selflink" name="section-4.5" href="#section-4.5">4.5</a>.  Scope of Work</h3></span>

   Crypto-agility solutions MUST apply to all RADIUS packet types,
   including Access-Request, Access-Challenge, Access-Reject,
   Access-Accept, Accounting-Request, Accounting-Response, Status-Server
   and CoA/Disconnect messages.

   Since it is expected that the work will occur purely within RADIUS or
   in the transport, message data exchanged with Diameter SHOULD NOT be
   affected.

   Proposals MUST discuss any inherent assumptions about, or limitations
   on, client/server operations or deployment and SHOULD provide
   recommendations for transition of deployments from legacy RADIUS to
   crypto-agile RADIUS.  Issues regarding cipher-suite negotiation,
   legacy interoperability, and the potential for bidding-down attacks
   SHOULD be among these discussions.

<span class="h3"><h3><a class="selflink" name="section-4.6" href="#section-4.6">4.6</a>.  Applicability of Automated Key Management Requirements</h3></span>

   "Guidelines for Cryptographic Key Management" [<a href="https://tools.ietf.org/html/rfc4107" title="&quot;Guidelines for Cryptographic Key Management&quot;">RFC4107</a>] provides
   guidelines for when automated key management is necessary.
   Consideration was given as to whether or not <a href="https://tools.ietf.org/html/rfc4107">RFC 4107</a> would require a
   RADIUS crypto-agility solution to feature Automated Key Management
   (AKM).  It was determined that AKM was not inherently required for
   RADIUS based on the following points:

   o  <a href="https://tools.ietf.org/html/rfc4107">RFC 4107</a> requires AKM for protocols that involve O(n^2) keys.
      This does not apply to RADIUS deployments, which require O(n)
      keys.

   o  Requirements for session key freshness can be met without AKM, for
      example, by utilizing a pre-shared key along with an exchange of
      nonces.

   o  RADIUS does not require the encryption of large amounts of data in
      a short time.





<span class="grey">Nelson                        Informational                     [Page 9]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-10" id="page-10" href="#page-10" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


   o  Organizations already have operational practices to manage
      existing RADIUS shared secrets to address key changes required as
      a result of personnel changes.

   o  The crypto-agility solution can avoid the use of cryptographic
      modes of operation, such as a counter mode cipher, that require
      frequent key changes.

   However, at the same time, it is recognized that features recommended
   in <a href="#section-4.2">Section 4.2</a> such as support for perfect forward secrecy and direct
   transport of keys between a NAS and RADIUS server can only be
   provided by a solution supporting AKM.  As a result, support for
   Automated Key Management is RECOMMENDED within a RADIUS crypto-
   agility solution.

   Also, automated key management is REQUIRED for RADIUS crypto-agility
   solutions that use cryptographic modes of operation that require
   frequent key changes.

<span class="h2"><h2><a class="selflink" name="section-5" href="#section-5">5</a>.  Security Considerations</h2></span>

   Potential attacks against the RADIUS protocol are described in
   <a href="https://tools.ietf.org/html/rfc3579#section-4.1">[RFC3579], Section&nbsp;4.1</a>, and details of known exploits as well as
   potential mitigations are discussed in <a href="https://tools.ietf.org/html/rfc3579#section-4.3">[RFC3579], Section&nbsp;4.3</a>.

   This specification describes the requirements for new cryptographic
   protection mechanisms, including the modular selection of algorithms
   and modes.  Therefore, all the subject matter of this memo is related
   to security.

<span class="h2"><h2><a class="selflink" name="section-6" href="#section-6">6</a>.  Acknowledgments</h2></span>

   Thanks to all the reviewers and contributors, including Bernard
   Aboba, Mary Barnes, Pasi Eronen, Dan Romascanu, Joe Salowey, and Glen
   Zorn.

<span class="h2"><h2><a class="selflink" name="section-7" href="#section-7">7</a>.  References</h2></span>

<span class="h3"><h3><a class="selflink" name="section-7.1" href="#section-7.1">7.1</a>.  Normative References</h3></span>

   [<a name="ref-NIST-SP800-131A" id="ref-NIST-SP800-131A">NIST-SP800-131A</a>]
              Barker, E. and A. Roginsky, "Transitions: Recommendation
              for Transitioning the Use of Cryptographic Algorithms and
              Key Lengths", NIST SP-800-131A, January 2011.

   [<a name="ref-RFC2119" id="ref-RFC2119">RFC2119</a>]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", <a href="https://tools.ietf.org/html/bcp14">BCP 14</a>, <a href="https://tools.ietf.org/html/rfc2119">RFC 2119</a>, March 1997.




<span class="grey">Nelson                        Informational                    [Page 10]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-11" id="page-11" href="#page-11" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


   [<a name="ref-RFC2865" id="ref-RFC2865">RFC2865</a>]  Rigney, C., Willens, S., Rubens, A., and W. Simpson,
              "Remote Authentication Dial In User Service (RADIUS)", <a href="https://tools.ietf.org/html/rfc2865">RFC</a>
              <a href="https://tools.ietf.org/html/rfc2865">2865</a>, June 2000.

   [<a name="ref-RFC4107" id="ref-RFC4107">RFC4107</a>]  Bellovin, S. and R. Housley, "Guidelines for Cryptographic
              Key Management", <a href="https://tools.ietf.org/html/bcp107">BCP 107</a>, <a href="https://tools.ietf.org/html/rfc4107">RFC 4107</a>, June 2005.

   [<a name="ref-RFC4962" id="ref-RFC4962">RFC4962</a>]  Housley, R. and B. Aboba, "Guidance for Authentication,
              Authorization, and Accounting (AAA) Key Management", <a href="https://tools.ietf.org/html/bcp132">BCP</a>
              <a href="https://tools.ietf.org/html/bcp132">132</a>, <a href="https://tools.ietf.org/html/rfc4962">RFC 4962</a>, July 2007.

   [<a name="ref-RFC6151" id="ref-RFC6151">RFC6151</a>]  Turner, S. and L. Chen, "Updated Security Considerations
              for the MD5 Message-Digest and the HMAC-MD5 Algorithms",
              <a href="https://tools.ietf.org/html/rfc6151">RFC 6151</a>, March 2011.

   [<a name="ref-RFC6158" id="ref-RFC6158">RFC6158</a>]  DeKok, A., Ed., and G. Weber, "RADIUS Design Guidelines",
              <a href="https://tools.ietf.org/html/bcp158">BCP 158</a>, <a href="https://tools.ietf.org/html/rfc6158">RFC 6158</a>, March 2011.

<span class="h3"><h3><a class="selflink" name="section-7.2" href="#section-7.2">7.2</a>.  Informative References</h3></span>

   [<a name="ref-RADYN" id="ref-RADYN">RADYN</a>]    Winter, S. and M. McCauley, "NAI-based Dynamic Peer
              Discovery for RADIUS/TLS and RADIUS/DTLS", Work in
              Progress, July 2011.

   [<a name="ref-RFC2548" id="ref-RFC2548">RFC2548</a>]  Zorn, G., "Microsoft Vendor-specific RADIUS Attributes",
              <a href="https://tools.ietf.org/html/rfc2548">RFC 2548</a>, March 1999.

   [<a name="ref-RFC2868" id="ref-RFC2868">RFC2868</a>]  Zorn, G., Leifer, D., Rubens, A., Shriver, J., Holdrege,
              M., and I. Goyret, "RADIUS Attributes for Tunnel Protocol
              Support", <a href="https://tools.ietf.org/html/rfc2868">RFC 2868</a>, June 2000.

   [<a name="ref-RFC3162" id="ref-RFC3162">RFC3162</a>]  Aboba, B., Zorn, G., and D. Mitton, "RADIUS and IPv6", <a href="https://tools.ietf.org/html/rfc3162">RFC</a>
              <a href="https://tools.ietf.org/html/rfc3162">3162</a>, August 2001.

   [<a name="ref-RFC3579" id="ref-RFC3579">RFC3579</a>]  Aboba, B. and P. Calhoun, "RADIUS (Remote Authentication
              Dial In User Service) Support For Extensible
              Authentication Protocol (EAP)", <a href="https://tools.ietf.org/html/rfc3579">RFC 3579</a>, September 2003.

   [<a name="ref-RFC5997" id="ref-RFC5997">RFC5997</a>]  DeKok, A., "Use of Status-Server Packets in the Remote
              Authentication Dial In User Service (RADIUS) Protocol",
              <a href="https://tools.ietf.org/html/rfc5997">RFC 5997</a>, August 2010.










<span class="grey">Nelson                        Informational                    [Page 11]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-12" id="page-12" href="#page-12" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6421">RFC 6421</a>         Crypto-Agility Requirements for RADIUS    November 2011</span>


Author's Address

   David B. Nelson (editor)
   Elbrys Networks, Inc.
   282 Corporate Drive, Unit 1
   Portsmouth, NH  03801
   USA

   EMail: d.b.nelson@comcast.net










































Nelson                        Informational                    [Page 12]

</pre><br>
<span class="noprint"><small><small>Html markup produced by rfcmarkup 1.109, available from
<a href="https://tools.ietf.org/tools/rfcmarkup/">https://tools.ietf.org/tools/rfcmarkup/</a>
</small></small></span>

</body></html>